/*
    This source file is part of GeNa project.
    Copyright © GeNa project 2008
    For the latest info, see http://code.google.com/p/genaproject/ or  http://lumpyproject.forums-rpg.com

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Foobar is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Foobar.  If not, see <http://www.gnu.org/licenses/>. */

#ifndef PATH_H_INCLUDED
#define PATH_H_INCLUDED

#include <boost/filesystem/path.hpp>

using namespace boost::filesystem;

#include "property_manager.h"
#include "singleton.h"


class PathList
{
private:
    void init()
    {
        mapPath = "../game/data/map";
        triatekMapPath = "../game/data/triatek_map";
        modelPath = "../game/data/model";
        texturePath = "../game/data/texture";
        shaderPath = "../game/data/shader";
        materialPath = "../game/data/material";
    }

    void destroy()
    {
    }
public:
    path mapPath;
    path triatekMapPath;
    path modelPath;
    path texturePath;
    path materialPath;
    path shaderPath;

    MAKE_SINGLETON(PathList)
/*
    BEGIN_PROPERTY_TABLE(PathList)
        PROPERTY( map, path,"../game/data/map", PathList::mapPath, false)
        PROPERTY( triatekMap, path,"../game/data/triatek_map", PathList::triatekMapPath, false)
        PROPERTY( model, path,"../game/data/model", PathList::modelPath, false)
        PROPERTY( texture, path,"../game/data/texture", PathList::texturePath, false)
        PROPERTY( shader, path,"../game/data/shader", PathList::shaderPath, false)
        PROPERTY( material, path,"../game/data/material", PathList::materialPath, false)
    END_PROPERTY_TABLE()
*/
};

#define pathListInstance MAKE_SINGLETON_PSEUDO_INSTANCE(PathList)

#endif // PATH_H_INCLUDED
